package com.ruoyi.system.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 酒店信息对象 credit_hotel
 * 
 * @author ruoyi
 * @date 2024-01-01
 */
public class CreditHotel extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 酒店ID */
    private Long hotelId;

    /** 酒店名称 */
    @Excel(name = "酒店名称")
    private String hotelName;

    /** 酒店地址 */
    @Excel(name = "酒店地址")
    private String hotelAddress;

    /** 价格（夜） */
    @Excel(name = "价格（夜）")
    private BigDecimal hotelPrice;

    /** 酒店星级 */
    @Excel(name = "酒店星级")
    private String hotelLevel;

    /** 酒店图片（JSON格式） */
    @Excel(name = "酒店图片")
    private String hotelImages;

    /** 酒店描述 */
    @Excel(name = "酒店描述")
    private String hotelDesc;

    /** 入住率预测（百分比） */
    @Excel(name = "入住率预测（百分比）")
    private BigDecimal occupancyRate;

    /** 所需信用分 */
    @Excel(name = "所需信用分")
    private Integer requiredScore;

    /** 是否可订（0否 1是） */
    @Excel(name = "是否可订", readConverterExp = "0=否,1=是")
    private String isAvailable;

    public void setHotelId(Long hotelId) 
    {
        this.hotelId = hotelId;
    }

    public Long getHotelId() 
    {
        return hotelId;
    }
    public void setHotelName(String hotelName) 
    {
        this.hotelName = hotelName;
    }

    public String getHotelName() 
    {
        return hotelName;
    }
    public void setHotelAddress(String hotelAddress) 
    {
        this.hotelAddress = hotelAddress;
    }

    public String getHotelAddress() 
    {
        return hotelAddress;
    }
    public void setHotelPrice(BigDecimal hotelPrice) 
    {
        this.hotelPrice = hotelPrice;
    }

    public BigDecimal getHotelPrice() 
    {
        return hotelPrice;
    }
    public void setHotelLevel(String hotelLevel) 
    {
        this.hotelLevel = hotelLevel;
    }

    public String getHotelLevel() 
    {
        return hotelLevel;
    }
    public void setHotelImages(String hotelImages) 
    {
        this.hotelImages = hotelImages;
    }

    public String getHotelImages() 
    {
        return hotelImages;
    }
    public void setHotelDesc(String hotelDesc) 
    {
        this.hotelDesc = hotelDesc;
    }

    public String getHotelDesc() 
    {
        return hotelDesc;
    }
    public void setOccupancyRate(BigDecimal occupancyRate) 
    {
        this.occupancyRate = occupancyRate;
    }

    public BigDecimal getOccupancyRate() 
    {
        return occupancyRate;
    }
    public void setRequiredScore(Integer requiredScore) 
    {
        this.requiredScore = requiredScore;
    }

    public Integer getRequiredScore() 
    {
        return requiredScore;
    }
    public void setIsAvailable(String isAvailable) 
    {
        this.isAvailable = isAvailable;
    }

    public String getIsAvailable() 
    {
        return isAvailable;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("hotelId", getHotelId())
            .append("hotelName", getHotelName())
            .append("hotelAddress", getHotelAddress())
            .append("hotelPrice", getHotelPrice())
            .append("hotelLevel", getHotelLevel())
            .append("hotelImages", getHotelImages())
            .append("hotelDesc", getHotelDesc())
            .append("occupancyRate", getOccupancyRate())
            .append("requiredScore", getRequiredScore())
            .append("isAvailable", getIsAvailable())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
} 